package com.youlu.campus.base.base;

/**
 * 常规状态枚举
 * @author: YangJ
 * @date: 2020/11/24 18:55
 */
public enum GeneraStatusEnum {

    PENDING("pending", "待上架"),

    ON("on", "上架"),

    OFF("off", "下架");

    private String code;
    private String desc;

    GeneraStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
